﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace System.Xml
{
    public class XmlDocument : XmlNode
    {

        public XmlDocument()
        {
        }

        public void LoadXml(string xml)
        {
            XmlParser parser = new XmlParser();
            this.ChildNodes = parser.Parse(xml).ChildNodes;
            this.InnerText = xml;
        }
    }
}
